package com.venutech.gongan.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Work {
    //工单id
    private Integer wk_id;
    //运维工单ID
    private Long op_wk_id;
    //工单种类
    private Integer wk_order_type;

    //工单类型
    private Integer wk_type;

    //申请人id
    private Integer wk_sq_user_id;

    //工单内容
    private String wk_content;

    //杆件id
    private Integer wk_gw_id;

    //设备id
    private Integer wk_sb_id;

    //申请时间
    private Date wk_sq_time;
    private String startTime;

    //工单状态（0 未审批，1 已批准，2 未批准）
    private Integer wk_state;

    //审批人user_id
    private Integer wk_sp_user_id;
    //审批时间
    private Date wk_sp_time;

    private String wk_ppciture_1;

    private String wk_ppciture_2;

    private String wk_ppciture_3;

    //申请人姓名
    private String sqname;
    //审批人姓名
    private String spname;

    private String wk_sq_open_id;

    //工单状态
    private String state;

    // 行政区域编码
    private String wk_area_code;


    @Override
    public String toString() {
        return "Work{" +
                "wk_id=" + wk_id +
                ", wk_type=" + wk_type +
                ", wk_sq_user_id=" + wk_sq_user_id +
                ", wk_content='" + wk_content + '\'' +
                ", wk_gw_id=" + wk_gw_id +
                ", wk_sb_id=" + wk_sb_id +
                ", wk_sq_time=" + wk_sq_time +
                ", startTime='" + startTime + '\'' +
                ", wk_state=" + wk_state +
                ", wk_sp_user_id=" + wk_sp_user_id +
                ", wk_ppciture_1='" + wk_ppciture_1 + '\'' +
                ", wk_ppciture_2='" + wk_ppciture_2 + '\'' +
                ", wk_ppciture_3='" + wk_ppciture_3 + '\'' +
                ", sqname='" + sqname + '\'' +
                ", spname='" + spname + '\'' +
                ", op_wk_id='" + op_wk_id + '\'' +
                ", wk_order_type='" + wk_order_type + '\'' +
                ", wk_sq_time='" + wk_sq_time + '\'' +
                ", wk_sq_open_id='" + wk_sq_open_id + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
